<?php
namespace app\share\controller;


use app\common\model\Token;
use Redis\RedisAction;

class Index extends BaseController
{
    public function test()
    {
        $redis = new RedisAction();
        $data = $redis->hSet();
        dump($data);




    }
    public function index()
    {
        echo "我来到study方法,控制器中间件生效了";
    }

    public function study()
    {
        echo "我来到study方法,控制器中间件生效了";
    }

}
